﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageUser.master" AutoEventWireup="true"
    CodeFile="TimChuyen.aspx.cs" Inherits="TimChuyen" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
     <div class="datve">
        <div class="datvetimkiem">
            <div>
                <asp:Label ID="Label1" runat="server" Text="Điểm Đi:"></asp:Label>
                &nbsp;&nbsp;
                <asp:DropDownList ID="ddlDiemdi" runat="server">
                </asp:DropDownList>
            </div>
            <div>
                <asp:Label ID="Label2" runat="server" Text="Điểm Đến:"></asp:Label>
                <asp:DropDownList ID="ddlDiemden" runat="server">
                </asp:DropDownList>
            </div>
            <div dir="ltr">
                <asp:Label ID="Label3" runat="server" Text="Chọn Ngày Đi:"></asp:Label>
                <asp:TextBox ID="txtFromDate" CssClass="From-Date" runat="server"></asp:TextBox>
                <script language="javascript" type="text/javascript">
                    jQuery('.From-Date').datepicker({
                        showOn: "button",
                        buttonText: "Select Date",
                        buttonImage: "/doan/image/calendar.png",
                        buttonImageOnly: true
                    }
            );
                </script>
            </div>
            <div align="center">
                <asp:ImageButton ID="btnTimchuyen" runat="server" ImageUrl="/Doan/image/btn_search.png"
                    OnClick="btnTimchuyen_Click" />
            </div>
        </div>       
    </div>
    <div class="dulieu" align="center">
        <asp:GridView ID="gvTimchuyen" runat="server" AutoGenerateColumns="False" 
            CellPadding="4" ForeColor="#333333" GridLines="None" 
            onrowcommand="gvTimchuyen_RowCommand">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="ma_chuyen" HeaderText="Mã Chuyến" />
                <asp:BoundField DataField="Diemdi" HeaderText="Điểm Đi" />
                <asp:BoundField DataField="Diemden" HeaderText="Điểm Đến" />
                <asp:BoundField DataField="thoigiankhoihanh" HeaderText="Giờ Khởi Hành" />
                <asp:BoundField DataField="ngaykhoihanh" HeaderText="Ngày Đi" />
                <asp:BoundField DataField="ThoiGianDiDuKien" 
                    HeaderText="Thời Gian Đi Dự Kiến" />
                <asp:ButtonField Text="Đặt Vé" CommandName="Datve" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <br />
    </div>
</asp:Content>
